Logging Client IP and Proxy IP in Apache access logs

Logging Client IP and Proxy IP in Apache access logs

am 08.10.2009 18:52:33 von Luciano Resende

In a environment configured with reverse proxy, how can I configure
Apache HTTP Server to log the client IP and the Proxy IP in it's
access logs ?

--
Luciano Resende
http://people.apache.org/~lresende
http://lresende.blogspot.com/

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: Logging Client IP and Proxy IP in Apache access

am 09.10.2009 06:32:24 von Igor Cicimov

--000e0cd5cb0012f1cf0475791189
Content-Type: text/plain; charset=ISO-8859-1

I would suggest you read about CustomLog in mod_log_config
http://httpd.apache.org/docs/2.2/mod/mod_log_config.html



On Fri, Oct 9, 2009 at 3:52 AM, Luciano Resende wrote:

> In a environment configured with reverse proxy, how can I configure
> Apache HTTP Server to log the client IP and the Proxy IP in it's
> access logs ?
>
> --
> Luciano Resende
> http://people.apache.org/~lresende
> http://lresende.blogspot.com/
>
> ------------------------------------------------------------ ---------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

--000e0cd5cb0012f1cf0475791189
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

I would suggest you read about CustomLog in mod_log_config
tp://httpd.apache.org/docs/2.2/mod/mod_log_config.html">http ://httpd.apache=
..org/docs/2.2/mod/mod_log_config.html




l_quote">
On Fri, Oct 9, 2009 at 3:52 AM, Luciano Resende < ef=3D"mailto:luckbr1975@gmail.com">luckbr1975@gmail.com> wrot=
e:
(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
In a environment configured with reverse proxy, how can I configure

Apache HTTP Server to log the client IP and the Proxy IP in it's

access logs ?



--

Luciano Resende

http://p=
eople.apache.org/~lresende


http://lresende=
..blogspot.com/




------------------------------------------------------------ ---------

The official User-To-User support forum of the Apache HTTP Server Project.<=
br>
See <URL: lank">http://httpd.apache.org/userslist.html> for more info.

To unsubscribe, e-mail: g">users-unsubscribe@httpd.apache.org

=A0 " =A0 from the digest: @httpd.apache.org">users-digest-unsubscribe@httpd.apache.org

For additional commands, e-mail: org">users-help@httpd.apache.org






--000e0cd5cb0012f1cf0475791189--